package wifiunion.com.notice.model;


import com.google.gson.reflect.TypeToken;

import java.util.ArrayList;
import java.util.HashMap;

import wifiunion.com.notice.BaseCallBack;
import wifiunion.com.notice.ConfigureContact;
import wifiunion.com.notice.Constants;
import wifiunion.com.notice.HttpUtils;
import wifiunion.com.notice.entity.CommunityConfigResponse;

/**
 * Created by Administrator on 2016/12/1.
 */

public class AddConfigureModel implements ConfigureContact.Model {
    @Override
    public void loadData(String url, HashMap<String, Object> params, BaseCallBack callBack) {
        HttpUtils.HttpPostRequest_Asyn(url, params,
                callBack, null, false);
    }


    public void updateNoticeConfigue(HashMap<String, Object> params, BaseCallBack callBack) {
        HttpUtils.HttpPostRequest_Asyn(Constants.HTTP_URL_POST_CONFIGUENOTICE, params,
                callBack, null, false);
    }

    public void updatePlaceLogoConfigue(HashMap<String, Object> params, BaseCallBack callBack) {
        HttpUtils.HttpPostRequest_Asyn(Constants.HTTP_URL_POST_UPDATELOGO, params,
                callBack, null, false);
    }





    public void updateMessageConfigue(HashMap<String, Object> params, BaseCallBack callBack) {
        HttpUtils.HttpPostRequest_Asyn(Constants.HTTP_URL_POST_NOTICECONFIGUE, params,
                callBack, null, false);
    }

    public void updateControlTime(HashMap<String, Object> params, BaseCallBack callBack) {
        HttpUtils.HttpPostRequest_Asyn(Constants.HTTP_URL_POST_CONFIGUENOTICE, params,
                callBack, null, false);
    }
}